use std::sync::Arc;
use util::Cp;

use super::block::Block;

use crate::recipe::file::FileInfo;

pub enum ReaderProduct {
	FileInfo(String,u64), //file name and file size
	FileBlock(Arc<Block>),
}

pub enum ChunkerProduct {
	FileInfo(FileInfo),
	ChunkPointer(Cp<[u8]>),
}
